<!--    继承layouts/std_master.php模板  -->
@extends('layouts.std_master')


<!-- 重写内容  -->
@section('content')

<h1 align="center">展板提交</h1>
<div class="col-lg-3"></div>
<div class="col-lg-6">

<form action="/std/panels_submit" method="POST" enctype="multipart/form-data">
	

	@if($report->project->type <= 11)
	<input type="file" name="file"  ><br>
		附件：<a href="/argue_book/{{$report->infos->attachmentpath }}/{{$report->infos->attachmentname }}">{{$report->infos->attachmentname or ''}}</a>
	<textarea rows="10" cols="100"  name="展板提交" placeholder="备注...">{{$report->infos->展板提交 or ''}}</textarea>
	@else
	<input type="file" name="file" disabled ><br>    
	附件：<a href="/argue_book/{{$report->infos->attachmentpath }}/{{$report->infos->attachmentname }}">{{$report->infos->attachmentname or ''}}</a>
	<textarea rows="10" cols="100"  name="展板提交" disabled placeholder="备注...">{{$report->infos->展板提交 or ''}}</textarea>
	@endif



	<input type="hidden" name="rid" value="{{$report->rid }}">
	<input type="hidden" name="report_type" value="{{$report->report_type }}">
	@if($report->project->type==10||empty($report))
		<button class="btn btn-success" type="submit" name="submit" >提交</button>
	@elseif($report->project->type==11)
		<button class="btn btn-success" type="submit"  name="submit" >修改</button>
	@elseif($report->project->type>11)
		<button class="btn btn-success" type="submit" disabled name="submit" >展板提交已完成</button><font color="red">老师已审核</font>
	@endif
</form>
</div>
@endsection